<?php
App::uses ( 'AppModel', 'Model' );
/**
 * SaleItem Model
 */
class ConsignmentItem extends AppModel {
	var $name = 'ConsignmentItem';
	var $useTable = 'consignment_item';
	
	public $belongsTo = array (
			'Item' => array (
					'className' => 'Item',
					'foreignKey' => 'item_id',
					'conditions' => '',
					'fields' => '',
					'order' => '' 
			),
			'ItemStatuses' => array (
					'className' => 'ItemStatus',
					'foreignKey' => '',
					'conditions' => 'Item.item_status_id=ItemStatuses.id',
					'fields' => '',
					'order' => '' 
			)
	);
	
}